package me.exchange.com.modules.system.dto;

import lombok.Getter;
import lombok.Setter;
import me.exchange.com.annotation.Query;
import me.exchange.com.base.BaseQueryCriteria;

import java.sql.Timestamp;
import java.util.List;
import java.util.Set;

/**
* @author Zheng Jie
* @date 2019-03-25
*/
@Setter
@Getter
public class DeptQueryCriteria  extends BaseQueryCriteria {

    @Query(type = Query.Type.IN, propName="id")
    private Set<Long> ids;

    private Long id;

    @Query(type = Query.Type.INNER_LIKE)
    private String name;

    @Query
    private Boolean enabled;

    @Query
    private Boolean isdel = true;

    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> cAdminTime;

}